﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BMWSEMCRM.Model
{
    public class Oppoturnity
    {
        public int LEAD_IMPID { get; set; }
        public string SITEID { get; set; }
        public string LNAME { get; set; }
        public string FNAME { get; set; }
        public string ADDR2 { get; set; }
        public string POCD { get; set; }
        public string WTEL { get; set; }
        public string HTEL { get; set; }
        public string TEL3 { get; set; }
        public string FAX { get; set; }
        public string EMAIL { get; set; }
        public string SALUTCODE { get; set; }
        public string EXTSYSID { get; set; } //Constant: BMW, to be defined in config file (ExternalSystemId)
        public string COMM_CHANNEL { get; set; } //Constant: 01, to be defined in config file (CommunicationChannel)
        public string MAKE { get; set; }
        public string MODEL { get; set; }
        public string TIMAKE { get; set; }
        public string TIMODEL { get; set; }
        public string MCAMP_ID { get; set; }//Constant, to be defined in config file
        public string HEAT_LEVEL { get; set; } //Constant, to be defined in config file
        public string LEAD_ID { get; set; }
        public string CREATION_CHANNEL { get; set; }
        public string HEADER { get; set; }
        public string BODY { get; set; }
        public string PLANNED { get; set; }
        public string TYPE { get; set; }
        public string ACTTYPE { get; set; }
        public string VEHTYPE { get; set; } // constant = 0
        public string _Created { get; set; }
        public string ISCOMPANY { get; set; }// constant = 1
        public string SMANID { get; set; }

        public string ADDR2E { get; set; } // now empty
        public string PO { get; set; } // city in the xml file
        public string CGRPID { get; set; } // cgrpid can be null
        public string ORGTYPE { get; set; } // can be null
        public string CTRCD { get; set; } // in config file, now is RO
        public string AGRP { get; set; } // can be null
        public string  BGROUP { get; set; } //can be null
        public string COUNTRY { get; set; }// in config file = Romania
        public string LANG { get; set; } //constant in config
        public string MARKETGRP { get; set; } // null


        public override string ToString()
        {
            return string.Format("{0}, {1} {2}", LEAD_ID, FNAME, LNAME);
        }
    }
}
